package com.hao.cdk.sm.domain.dto.accountuser;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 * @author: 许自豪
 * @date: 2025-01-24 15:04:11
 * @description: 用户(AccountUser)列表查询DTO
 */
@ApiModel("列表查询DTO")
@Data
@Accessors(chain = true)
public class AccountUserListDTO implements Serializable {        
   private static final long serialVersionUID = -92009819496241338L;
   
    @ApiModelProperty(value = "用户名", position = 1)
    private String username;
    
    @ApiModelProperty(value = "密码(密文)", position = 2)
    private String password;
    
    @ApiModelProperty(value = "昵称", position = 3)
    private String nickname;
    
    @ApiModelProperty(value = "头像URL", position = 4)
    private String avatar;
    
    @ApiModelProperty(value = "手机号码(作默认用户名)", position = 5)
    private String phone;
    
    @ApiModelProperty(value = "电子邮箱", position = 6)
    private String email;
    
    @ApiModelProperty(value = "M(男) or F(女)", position = 7)
    private String sex;
    
    @ApiModelProperty(value = "例如：2009-11-27", position = 8)
    private String birthDate;
    
    @ApiModelProperty(value = "身份证(密文)", position = 9)
    private String identificationCard;
    
    @ApiModelProperty(value = "用户积分", position = 10)
    private Integer score;
    
    @ApiModelProperty(value = "是否启用，1=启用，0=未启用", position = 11)
    private Integer enable;
    
    @ApiModelProperty(value = "简介", position = 12)
    private String description;
    
    @ApiModelProperty(value = "最后登录IP地址", position = 13)
    private String lastLoginIp;
    
    @ApiModelProperty(value = "最后登录时间", position = 14)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date gmtLastLogin;
    
    @ApiModelProperty(value = "数据创建时间", position = 15)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date gmtCreate;
    
    @ApiModelProperty(value = "数据最后修改时间", position = 16)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date gmtModified;
    
}
